import QtQuick 1.0

/**
* When more than one object is needed, give each object an unique objectName.
*/

Rectangle {
	width: 300
	height: 300

	PersistentObject {
		objectName: "object1"
		property alias someText: inputField1.text
	}

	PersistentObject {
		objectName: "object2"
		property alias someText: inputField2.text
	}

	Column {
		TextInput {
			id: inputField1
			text: "Initial text object 1"
		}

		TextInput {
			id: inputField2
			text: "Initial text object 2"
		}
	}
}
